
//
//  PayWalletModel.m
//  Btpin
//
//  Created by Vic on 2019/4/9.
//  Copyright © 2019 Vic. All rights reserved.
//

#import "PayWalletModel.h"

@implementation PayWalletModel

- (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> *)keyedValues {
    self.status = [UIToolsControl dataAnalysis:keyedValues[@"status"]];
    self.amount = [UIToolsControl dataAnalysisForPrice:keyedValues[@"amount"]];
    self.widthdraw = [UIToolsControl dataAnalysisForPrice:keyedValues[@"widthdraw"]];
    self.freeze = [UIToolsControl dataAnalysisForPrice:keyedValues[@"freeze"]];
    self.address = [UIToolsControl dataAnalysis:keyedValues[@"address"]];
    self.qrcode = [UIToolsControl dataAnalysis:keyedValues[@"qrcode"]];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    
}

- (id)copyWithZone:(NSZone *)zone {
    PayWalletModel *model = [[[self class] allocWithZone:zone] init];
    model.status = self.status;
    model.amount = self.amount;
    model.widthdraw = self.widthdraw;
    model.freeze = self.freeze;
    model.address = self.address;
    model.qrcode = self.qrcode;
    
    return model;
}

@end
